home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 8 / QRZ Ham Radio Callsign Database - Volume 8.iso / mac / files / t_sys5 / 92052tar.gz / 920528.tar / asy.h < prev    next >
C/C++ Source or Header  |  1992-05-28  |  1KB  |  50 lines

  1. /* @(#) $Header: asy.h,v 1.8 92/05/28 13:50:05 deyke Exp $ */
  2.  
  3. #ifndef _ASY_H
  4. #define _ASY_H
  5.  
  6. #ifndef _GLOBAL_H
  7. #include "global.h"
  8. #endif
  9.  
  10. #ifndef _MBUF_H
  11. #include "mbuf.h"
  12. #endif
  13.  
  14. #ifndef _IFACE_H
  15. #include "iface.h"
  16. #endif
  17.  
  18. #define ASY_MAX 16
  19.  
  20. struct asymode {
  21.     char *name;
  22.     char trigchar;
  23.     int (*init) __ARGS((struct iface *,int));
  24.     int (*free) __ARGS((struct iface *));
  25. };
  26. extern struct asymode Asymode[];
  27.  
  28. /* In 8250.c: */
  29. int asy_init __ARGS((int dev,struct iface *ifp,char *arg1,char *arg2,
  30.     int bufsize,int trigchar,int monitor,long speed));
  31. int32 asy_ioctl __ARGS((struct iface *ifp,int cmd,int set,int32 val));
  32. int asy_speed __ARGS((int dev,long bps));
  33. int asy_send __ARGS((int dev,struct mbuf *bp));
  34. int asy_stop __ARGS((struct iface *ifp));
  35. int get_rlsd_asy __ARGS((int dev, int new_rlsd));
  36. int get_asy __ARGS((int dev,char *buf,int cnt));
  37.  
  38. /* In dialer.c: */
  39. void dialer_kick __ARGS((struct asy *asyp));
  40.  
  41. /* In asyvec.asm: */
  42. INTERRUPT asy0vec __ARGS((void));
  43. INTERRUPT asy1vec __ARGS((void));
  44. INTERRUPT asy2vec __ARGS((void));
  45. INTERRUPT asy3vec __ARGS((void));
  46. INTERRUPT asy4vec __ARGS((void));
  47. INTERRUPT asy5vec __ARGS((void));
  48.  
  49. #endif  /* _ASY_H */
  50.